<template>
  <router-link :to="path" class="more">
      <span>查看全部</span>
      <i class="iconfont icon-angle-right"></i>
  </router-link>
</template>

<script>
export default {
  name: 'syMore',
  props: {
    path: {
      type: String,
      default: '/'
    }
  }
}
</script>

<style lang="less" scoped>
.more{
  display: inline-block;
  vertical-align: middle;
  padding-top: 4px;
    span{
        font-size: 16px;
        vertical-align: middle;
        margin-right: 4px;
        color: #999;
    }
    i{
        font-size: 14px;
        vertical-align: middle;
        color: #ccc;
        position: relative;
        top: 2px;
    }
    &:hover {
        span,i{
            color:@themeColor;
        }
    }
}
</style>
